package seqList;

import java.util.Scanner;

public class FlightNode {
	public int number;
	public String start;
	public String end;
	public String departure;
	public String arrival;
	public String price;
	public FlightNode(){
		this(0,null,null,null,null,null);
	}
	public FlightNode(int number,String start,String end,String departure,String arrival,String price){
		this.number=number;
		this.start=start;
		this.end=end;
		this.departure=departure;
		this.arrival=arrival;
		this.price=price;
		
	}
	public FlightNode(Scanner sc){
		this(sc.nextInt(),sc.next(),sc.next(),sc.next(),sc.next(),sc.next());
	}

}
